package com.csj.DesignPattern.proxy.jdkProxy;

public class Client {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory();
        SellTickets proxyInstance = proxyFactory.getProxyInstance();
        proxyInstance.check();
        proxyInstance.sell();
        System.out.println(proxyInstance.getClass());
    }
}
